package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 路径信息表
 * @TableName sys_route
 */
@Data
@TableName(value ="sys_route")
@ApiModel("路径信息模型")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysRoute implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("路径名称")
    private String pathName;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("路径类型")
    private Integer type;

    @ApiModelProperty("航行次数")
    private Integer number;

    @ApiModelProperty("路径创建时间")
    private Date createTime;

    @ApiModelProperty("图片路径")
    private String img;

    @ApiModelProperty("路径状态 0：停用 1：启用")
    private Integer state;

    @TableField(exist = false)
    @ApiModelProperty("路径坐标集合")
    private List<SysRouteAxes>  routeAxesList;

}